fix: include node_modules in VSIX package#365
Conversation
The .vscodeignore was excluding node_modules/**, which prevented
vscode-languageclient from being bundled. The extension crashed on
activation because require("vscode-languageclient/node") failed.
Also adds VS Code Marketplace badge and installation section to README.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Claude finished @ajitpratap0's task —— View job PR Review: VSCode Extension Node Modules Fix ✅I've completed a comprehensive review of this pull request. This appears to be an initial repository setup commit rather than a traditional fix PR, but I'll focus on the stated changes regarding the VSCode extension. Review Tasks:
SummaryThe PR addresses a critical VSCode extension activation failure by modifying the Detailed Analysis✅ Core Fix AssessmentProblem Identified: VSCode extension crashed on activation with Root Cause: The original Solution: Removed the ✅ Code Quality & Best Practices
README.md Changes:
|
Summary
node_modules/**from.vscodeignoresovscode-languageclientis bundled in the VSIXProblem
The extension crashed on activation with
Cannot find module 'vscode-languageclient/node'because.vscodeignoreexcluded all ofnode_modules/.vsce packagealready strips devDependencies — the ignore rule was preventing production deps from being included.Test plan
vsce packageincludesnode_modules/vscode-languageclientin the VSIX🤖 Generated with Claude Code